﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DoAn_BumTruong_DesignPattern.Controls
{
    public partial class MenuRight : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LaodData();
            }
        }
        Facades fcmenu = new Facades();
        private void LaodData()
        {
            MenuCha cp = new MenuCha("Creational");

            RepeaterMenuRight.DataSource = fcmenu.GetMenuRightTop("1");
            RepeaterMenuRight.DataBind();
        }
    }
}